package com.mycompany.project.client;

import java.util.ArrayList;
import java.util.Iterator;

import javax.ejb.Remove;

import marketplace.objects.TransaccionBO;

import com.google.gwt.core.client.GWT;
import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

@RemoteServiceRelativePath("CarroComprasService")
public interface CarroComprasService extends RemoteService {
	
	public void agregarAlCarrito(TransaccionBO elementoTransaccion);
	
	public void eliminarDelCarrito(TransaccionBO servicioAEliminar);
	
	public ArrayList<TransaccionBO> darElementosDelCarrito();
	
	public double darValorTotalDelCarrito();
	
	public void efectuarCompra();
}
